[PATCH 7/9] i18n: use dummy localizations to avoid dependencies
authorZygmunt Krynicki <me@zygoon.pl>
Thu, 17 Jan 2019 14:42:35 +0000 (16:42 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Tue, 17 Mar 2026 21:17:14 +0000 (22:17 +0100)
commit18483a0769ee7dc1a816440050a62ac13c8a1fe2
tree6381fa4065468cfbdb7fa2a302a9dd5faa09a372
parent1c361bc60a9d82ec67fa65e0e3d9c8c559d0a35b
[PATCH 7/9] i18n: use dummy localizations to avoid dependencies

Upstream snapd uses the github.com/ojii/gettext.go package for access to
translation catalogs. This package is currently not available in Debian
and prevents building the package. As such, replace the real
implementation with a simple dummy one that always uses the English
input strings.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Gbp-Pq: Name 0007-i18n-use-dummy-localizations-to-avoid-dependencies.patch
i18n/i18n.go
i18n/i18n_test.go